//
//  ProjectModel.swift
//  baihuiju
//
//  Created by 赵家彬 on 2018/5/24.
//  Copyright © 2018年 赵家彬. All rights reserved.
//

import UIKit

class CommodityModel: NSObject {
    var id:String = ""
    var num:String = ""
    var name:String = ""
    var letter:String = ""
    var url:String = ""
}

//套餐数组
class PackageModel: NSObject {
    var type:String = ""
    //商品数组
    var arrCommodity:[CommodityModel] = [CommodityModel]()
    //是否已经选择了
    var isSelect = false
}

class ProjectModel: NSObject {
    //id
    var id:String = ""
    //产品编号
    var number:String = ""
    var img:String = ""
    var name:String = ""
    //总量
    var amount:String = ""
    //已购数量
    var buy_amount:String = ""
    //剩余数量
    var pro_num:String = ""
    //进度状态0预热中1众筹中2已完成
    var progress_status:String = ""
    //提示文字
    var remark:String = ""
    //倒计时
    var tick_count_time:String = ""
    
    //套餐数组
    var arrPackage:[PackageModel] = [PackageModel]()
}
